You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > clVector Structure > clVector Methods > ImagPart Method > clVector.ImagPart Method ([In] TOpenCLMtxVec)
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
clVector.ImagPart Method ([In] TOpenCLMtxVec)

Gets the imaginary part of a complex object.

Syntax
C#
Visual Basic
public TOpenCLMtxVec ImagPart([In] TOpenCLMtxVec Vec);

Gets the imaginary part of a complex object Vec and stores the real results in the calling object. Size and Complex properties of the calling object are set implicitly to match Vec object. Vec Complex must be true otherwise the exception will be raised.

var a,b: clVector; begin a.CopyCplxFromArray(TSingleArray.Create(1,2,3,4)); // a= [1+2i, 3+4i] b.ImagPart(a); // b = [2, 4] end;
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!